<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:wb="http://open.weibo.com/wb" class=" widthauto">
    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>
            ${singlePost.title } - 卷云户外网
        </title>
        <link rel="stylesheet" type="text/css" href="../css/common/style_2_common.css">
        <link rel="stylesheet" type="text/css" href="../css/common/style_2_forum_viewthread.css">
        <link rel="stylesheet" type="text/css" href="../css/common/public.css">
        <link rel="stylesheet" type="text/css" href="../css/common/style.css">
        <link rel="stylesheet" id="css_widthauto" type="text/css" href="../css/common/style_2_widthauto.css">
        <script src="../js/common/push.js" type="text/javascript"></script>
        <script src="../js/common/common.js" type="text/javascript"></script>
        <script src="../js/common/jquery.min.js" type="text/javascript"></script>
        <script src="../js/common/jquery.superslide.js" type="text/javascript"></script>
        <script src="../js/common/pace.js" type="text/javascript"></script>
        
        <!--[if IE 6]>
     <script language='javascript' type="text/javascript">   
    function ResumeError() {  
         return true;  
    }  
    window.onerror = ResumeError;   
    </script> 
    <![endif]-->
        <script type="text/javascript">HTMLNODE.className += ' widthauto'</script>
        <script src="../js/common/forum.js" type="text/javascript"></script>
        <link rel="stylesheet" type="text/css" href="../css/common/head.css">
        <!-- <script src="../js/common/getdzjs" ime-cfg="lt=2" type="text/javascript"></script> -->
        <script src="../js/common/logger.js" type="text/javascript"></script>
        <link href="../css/common/bdsstyle.css" rel="stylesheet" type="text/css">
        <style type="text/css">
        .li_fontsize{
            font-size: 14px;
        }
        #mainContent{font-size: 14px;margin-top: 10px;margin-left: 20px}
		#mainContent input[type="submit"]{
			background: #37B8EB;height:28px;line-height: 28px;padding: 0 15px;color:white
		}
		.pcb{margin-right:0}
        </style>
        <script src="../js/layer/layer.js"></script>
        <%-- kindeditor 引入 --%>
		<link rel="stylesheet" type="text/css" href="../kindeditor-4.1.10/css/layout.css">
		<link rel="stylesheet" href="../kindeditor-4.1.10/themes/default/default.css" />
		<link rel="stylesheet" href="../kindeditor-4.1.10/plugins/code/prettify.css" />
		<script charset="utf-8" src="../kindeditor-4.1.10/kindeditor.js">
		</script>
		<script charset="utf-8" src="../kindeditor-4.1.10/lang/zh_CN.js">
		</script>
		<script charset="utf-8" src="../kindeditor-4.1.10/plugins/code/prettify.js">
		</script>
	<script>
	function windowDispatch(){
		location.href = "login.jsp";
	}
	/*	收藏帖子	*/
	function collectPost(){
		if('${session.user}' == null || '${session.user}' == ""){
			layer.open({
			title: '消息',
			content: '请先登录！',
			icon:0
			}); 
			setTimeout("windowDispatch()", 2000 );
			return false;
		}
		
		var pid = '${singlePost.id}';
		var url = "UserAction_collectPost.action";
		var data = {"pid":pid};
		jQuery.post(url,data,function(backData){
		var obj = eval('(' + backData + ')');
			if(obj.collect == true){
				layer.open({
				title: '消息',
				content: '收藏成功',
				icon:1
				}); 
			}else{
				layer.open({
				title: '消息',
				content: '收藏失败：操作不当或已收藏',
				icon:0
				}); 
			}
		});
	}
		
	function checkPost(){
		if('${session.user}' == null || '${session.user}' == ""){
			layer.open({
			title: '消息',
			content: '请先登录！',
			icon:0
			}); 
			setTimeout("windowDispatch()", 2000 );
			return false;
		}else{
			location.href = "postrelease.jsp";
		}
	}
		
	function check(){
		var flag = true;
		var content = jQuery("#mainContent textarea[name='content']").val();
		
		if('${session.user}' == null || '${session.user}' == ""){
			layer.open({
			title: '消息',
			content: '请先登录！',
			icon:0
			}); 
			setTimeout("windowDispatch()", 2000 );
			return false;
		}
		if(content==""){
			layer.open({
			title: '消息',
			content: '内容不能为空',
			icon:0
			}); 
			flag = false;
		}
		return flag;
	}

	KindEditor.ready(function(K) {
		var editor1 = K.create('textarea[name="content"]', {
			cssPath : '../kindeditor-4.1.10/plugins/code/prettify.css',
			uploadJson : '../kindeditor-4.1.10/jsp/upload_json.jsp',
			fileManagerJson : '../kindeditor-4.1.10/jsp/file_manager_json.jsp',
			allowFileManager : true,
			allowImageUpload : true,
			items : [
				'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold',
				'italic', 'underline', 'strikethrough', 'lineheight', 'removeformat', '|', 'image',
				'hr', 'emoticons'
			],
			afterCreate : function() {
				var self = this;
				K.ctrl(document, 13, function() {
					self.sync();
					document.forms['example'].submit();
				});
				K.ctrl(self.edit.doc, 13, function() {
					self.sync();
					document.forms['example'].submit();
				});
			}
		});
		prettyPrint();
	});
</script>
    </head>
    <body id="nv_forum" class="pg_viewthread pace-done" onkeydown="if(event.keyCode==27) return false;">
        <iframe frameborder="0" style="display: none;"></iframe>
        
        <div class="pace pace-inactive">
            <div class="pace-progress" data-progress-text="100%" data-progress="99" style="width: 100%;">
                <div class="pace-progress-inner"></div>
            </div>
            <div class="pace-activity"></div>
        </div>
        <div id="append_parent"></div>
        <div id="ajaxwaitid"></div>
        <div id="headnav">
            <!--首页头部-->
          <%--	公共头部	 --%>
		<jsp:include page="indexHead.jsp" ></jsp:include>
          
        </div>
        <div class="wp" style="display:none;">
            <!-- 隐藏导航AD位置 -->
        </div>
        <div id="wp" class="wp time_wp cl">
            <script type="text/javascript">
var fid = parseInt('250'), tid = parseInt('4919876');
            </script> <script src="../js/common/forum_viewthread.js" type="text/javascript">
</script> <script type="text/javascript">
zoomstatus = parseInt(1);var imagemaxwidth = '600';var aimgcount = new Array();
            </script> <!--[diy=diynavtop]-->
            <div id="diynavtop" class="area"></div><!--[/diy]-->
            <script src="../js/common/jquery.min.js" type="text/javascript">
</script><script type="text/javascript">
jQuery.noConflict();
            </script><script type="text/javascript">
/* (function(d){j=d.createElement('script');j.src='//openapi.guanjia.qq.com/fcgi-bin/getdzjs?cmd=urlquery_utf-8_zh_cn';j.setAttribute('ime-cfg','lt=2');d.getElementsByTagName('head')[0].appendChild(j)})(document) */
            </script>
            <div class="wp">
                <!--[diy=diy1]-->
                <div id="diy1" class="area"></div><!--[/diy]-->
            </div>
            <div id="ct" class="wp cl" style="margin: 0;">
                <!-- 板块右侧 -->
                <div id="main_sidebar">
                    <!--[diy=searc会员diy]-->
                    <div id="searchdiy" class="area"></div><!--[/diy]-->
                    <div class="ibox cl" style="padding-bottom: 5px;">
                        <a class="btn btn_post" onclick="checkPost()" title="发新帖" style="margin: 0;"><i class="icon icon_post"></i>
                           <p>发帖</p>
                        </a>
                    </div><!--[diy=diy6]-->
                    <div id="diy6" class="area"></div><!--[/diy]-->
                    <div id="recommendArticle">
                        <!--[diy=diy7]-->
                        <div id="diy7" class="area"></div><!--[/diy]-->
                    </div>
                    <div id="jiang108">
                        <!--[diy=diy8]-->
                        <div id="diy8" class="area"></div><!--[/diy]-->
                    </div>
                    <div class="sidebarBlock" id="activeMember" style="padding-bottom: 10px;">
                        <!--[diy=diy10]-->
                        <div id="diy10" class="area"></div><!--[/diy]-->
                    </div><!--[diy=diy11]-->
                    <div id="diy11" class="area"></div><!--[/diy]-->
                </div><!-- 板块右侧 -->
                <div class="forum-left">
                    <div class="cl">
                        <div id="postlist" class="pl bm">
                            <table cellspacing="0" cellpadding="0">
                                <!-- 开始 -->
                                <tbody>
                                    <tr>
                                        <td class="pls" rowspan="2"></td>
                                        <td class="pls ptn pbn" style="display:none;">
                                            <div class="hm ptn">
                                                <span class="xg1">查看:</span> <span class="xi1">188</span><span class="pipe">|</span><span class="xg1">回复:</span> <span class="xi1">13</span>
                                            </div>
                                        </td>
                                        <td class="plc ptm pbn">
                                            <div id="pt" class="bm cl">
                                                <div class="z">
                                                    <a href="index.jsp">论坛</a> <em>›</em> <a href="PostAction_getPageResult.action?pagenum=1&topicId=${topicId }">${topicName }</a> <em>›</em> <a href="#">查看内容</a>
                                                </div>
                                            </div>
                                            <div class="cl" style="margin-bottom: 20px;">
                                                <h1 class="ts f18">
                                                    <span id="thread_subject">${singlePost.title }</span>
                                                </h1>
                                            </div>
                                        </td>
                                    </tr><!-- 开始  -->
                                </tbody>
                            </table>
                            <table cellspacing="0" cellpadding="0" class="ad" style="display:none;">
                                <!-- 开始 间隔隐藏 -->
                                <tbody>
                                    <tr>
                                        <td class="pls"></td>
                                        <td class="plc"></td>
                                    </tr>
                                </tbody>
                            </table>
                            <c:if test="${param.pagenum==1 }">
                            <div id="post_31618690">
                                <div class="p_pop blk bui card_gender_0" id="userinfo31618690" style="display: none; margin-top: -11px;">
                                    <div class="m z">
                                        <div id="userinfo31618690_ma"></div>
                                    </div>
                                    <div class="i y">
                                        <div>
                                            <strong><a href="http://user.huway.com/home?uid=1272230" target="_blank" class="xi2">${postUser.nickName }</a></strong> <em>当前离线</em>
                                        </div>
                                        <dl class="cl">
                                            <dt>
                                                积分
                                            </dt>
                                            <dd>
                                                <a href="http://www.huway.com/home.php?mod=space&amp;uid=1272230&amp;do=profile" target="_blank" class="xi2">0</a>
                                            </dd>
                                        </dl>
                                        <div class="imicn">
                                            <a href="http://user.huway.com/home?uid=1272230&amp;do=profile" target="_blank" title="查看详细资料"><img src="../images/userinfo.gif" alt="查看详细资料"></a>
                                        </div>
                                        <div id="avatarfeed">
                                            <span id="threadsortswait"></span>
                                        </div>
                                    </div>
                                </div>
                                <table id="pid31618690" class="plhin" summary="pid31618690" cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr>
                                            <td class="pls pls_relative" rowspan="2">
                                                <div class="pls favatar">
                                                    <a name="newpost"></a>
                                                    <div class="side_avt">
                                                        <div class="avatar" onmouseover="showauthor(this, 'userinfo31618690')">
                                                            <a href="http://user.huway.com/home?uid=1272230" class="avtm" target="_blank"><img src="${postUser.headImg }"></a>
                                                        </div>
                                                        <div class="avt_name">
                                                            <div class="authi">
                                                                <a href="http://user.huway.com/home?uid=1272230" target="_blank" class="xs2">会员04490022</a>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="tns xg2">
                                                        <table cellspacing="0" cellpadding="0">
                                                            <tbody>
                                                                <tr>
                                                                    <th>
                                                                        <p>
                                                                            <a href="http://www.huway.com/home.php?mod=space&amp;uid=1272230&amp;do=thread&amp;type=thread&amp;view=me&amp;from=space" class="xi2"></a>
                                                                        </p>主题
                                                                    </th>
                                                                    <th>
                                                                        <p>
                                                                            <a href="http://www.huway.com/home.php?mod=space&amp;uid=1272230&amp;do=thread&amp;type=reply&amp;view=me&amp;from=space" class="xi2"></a>
                                                                        </p>帖子
                                                                    </th>
                                                                    <td>
                                                                        <p>
                                                                            <a href="http://www.huway.com/home.php?mod=space&amp;uid=1272230&amp;do=profile" class="xi2">0</a>
                                                                        </p>积分
                                                                    </td>
                                                                </tr>
                                                            </tbody>
                                                        </table>
                                                    </div>
                                                    <p>
                                                        <em><a href="http://www.huway.com/home.php?mod=spacecp&amp;ac=usergroup&amp;gid=10" target="_blank">过街蛮驴Ⅰ</a></em>
                                                    </p>
                                                    <p>
                                                        <span id="g_up31618690" onmouseover="showMenu({'ctrlid':this.id, 'pos':'12!'});"><img src="../images/star_level1.gif" alt="Rank: 1"></span>
                                                    </p>
                                                    <div id="g_up31618690_menu" class="tip tip_4" style="display: none;">
                                                        <div class="tip_horn"></div>
                                                        <div class="tip_c">
                                                            过街蛮驴Ⅰ, 积分 0, 距离下一级还需 50 积分
                                                        </div>
                                                    </div>
                                                    <p>
                                                        <span class="pbg2" id="upgradeprogress_31618690" onmouseover="showMenu({'ctrlid':this.id, 'pos':'12!', 'menuid':'g_up31618690_menu'});"></span>
                                                    </p>
                                                    <div id="g_up31618690_menu" class="tip tip_4" style="display: none;">
                                                        <div class="tip_horn"></div>
                                                        <div class="tip_c">
                                                            过街蛮驴Ⅰ, 积分 0, 距离下一级还需 50 积分
                                                        </div>
                                                    </div>
                                                    <dl class="pil cl">
                                                        <dt>
                                                            积分
                                                        </dt>
                                                        <dd>
                                                            <a href="http://www.huway.com/home.php?mod=space&amp;uid=1272230&amp;do=profile" target="_blank" class="xi2">0</a>
                                                        </dd>
                                                    </dl>
                                                    <dl class="pil cl"></dl>
                                                    <ul class="xl xl2 o cl">
                                                        <li class="pm2">
                                                            <a href="http://www.huway.com/home.php?mod=spacecp&amp;ac=pm&amp;op=showmsg&amp;handlekey=showmsg_1272230&amp;touid=1272230&amp;pmid=0&amp;daterange=2&amp;pid=31618690&amp;tid=4919876" onclick="showWindow('sendpm', this.href);" title="发消息" class="xi2">发消息</a>
                                                        </li>
                                                    </ul>
                                                </div>
                                            </td>
                                            <td class="plc">
                                                <div class="pi tpi">
                                                    <div class="pti" style="color: #515151;">
                                                        <div class="authi">
                                                            <div class="cl" style="float: left; width: 50px; overflow: hidden;">
                                                                <a href="UserAction_getPersonHome.action?uid=${postUser.id }" target="_blank" class="xi2 z inside_avt" style="padding-right: 0;"><img src="${postUser.headImg }"></a>
                                                            </div>
                                                            <div class="cl" style="float: right; width: 800px; overflow: hidden;">
                                                                <div class="cl" style="height: 21px; margin: 0 0 5px 0; overflow: hidden;">
                                                                    <img class="authicn vm" id="authicon31618690" src="../images/online_member.gif"><em id="authorposton31618690"><a href="http://user.huway.com/home?uid=${postUser.id }" target="_blank" style="padding: 0 5px 0 0; color: #42A7D7; font-size: 14px; font-weight: bold;">${postUser.nickName }</a></em><span class="ico_see">${singlePost.viewNumber }</span><span class="ico_reply">${singlePost.replyNumber }</span>
                                                                    <div style="display:none;">
                                                                        <span class="pipe">|</span> <a href="http://bbs.huway.com/forum.php?mod=viewthread&amp;tid=4919876&amp;page=1&amp;authorid=1272230" rel="nofollow">只看该作者</a>
                                                                    </div>
                                                                    <div style="display:none;">
                                                                        <span class="none"><img src="../images/arw_r.gif" class="vm" alt="回帖奖励"></span> <span class="pipe show">|</span><a href="http://bbs.huway.com/forum.php?mod=viewthread&amp;tid=4919876&amp;extra=page%3D1&amp;ordertype=1" class="show">倒序浏览</a> <span class="pipe show">|</span><a href="javascript:;" onclick="readmode($('thread_subject').innerHTML, 31618690);" class="show">阅读模式</a>
                                                                    </div><strong style="margin: 4px 0 0 0;" class="y"><a href="./5%E6%9C%88%E5%8E%BB%E8%A5%BF%E8%97%8F%20%E7%BA%A6%E4%BC%B4%20-%20%E8%A1%8C%E8%A1%8C%E6%91%84%E6%91%84%20-%20%E4%B8%AD%E5%8D%8E%E6%88%B7%E5%A4%96%E7%BD%91_files/5%E6%9C%88%E5%8E%BB%E8%A5%BF%E8%97%8F%20%E7%BA%A6%E4%BC%B4%20-%20%E8%A1%8C%E8%A1%8C%E6%91%84%E6%91%84%20-%20%E4%B8%AD%E5%8D%8E%E6%88%B7%E5%A4%96%E7%BD%91.html" id="postnum31618690" onclick="setCopy(this.href, '帖子地址复制成功');return false;" style="line-height: 18px; padding: 2px 5px;">楼主</a></strong>
                                                                </div>
                                                                <div class="cl" style="font-size: 12px; color: #888888;">
                                                                    发表于 ${singlePost.postTime }
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="pct" style="color: #515151;">
                                                    <div class="pcb">
                                                        <div class="t_fsz">
                                                            <table cellspacing="0" cellpadding="0">
                                                                <tbody>
                                                                    <tr>
                                                                        <td class="t_f" id="postmessage_31618690">
                                                                        	${singlePost.content}
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                        <div id="comment_31618690" class="cm"></div>
                                                        <div id="post_rate_div_31618690"></div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="plc plm">
                                                <div id="p_btn" class="mtw mbm hm cl">
                                                    <a href="javascript:void(0)" id="k_favorite" onclick="collectPost();" title="收藏本帖"><i><img src="../images/fav.gif" alt="收藏">收藏</i></a>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr id="_postposition31618690">
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td class="pls"></td>
                                            <td class="plc" style="overflow:visible;">
                                                <div class="po bbd hin">
                                                    <div class="pob cl">
                                                        <!-- <em><a href="javascript:;" id="mgc_post_31618690" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a> <a href="javascript:;" onclick="showWindow('miscreport31618690', 'misc.php?mod=report&amp;rtype=post&amp;rid=31618690&amp;tid=4919876&amp;fid=250', 'get', -1);return false;" style="padding-left: 0;">举报</a> <a class="fastre" href="http://bbs.huway.com/forum.php?mod=post&amp;action=reply&amp;fid=250&amp;tid=4919876&amp;reppost=31618690&amp;extra=page%3D1&amp;page=1" onclick="showWindow('reply', this.href)">回复</a></em> -->
                                                        <ul id="mgc_post_31618690_menu" class="p_pop mgcmn" style="display: none;"></ul><script type="text/javascript" reload="1">
checkmgcmn('post_31618690')
                                                        </script>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr class="ad">
                                            <td class="pls"></td>
                                            <td class="plc"></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            </c:if>
                            <c:forEach items="${page.queryResult}" var="reply" varStatus="no">
                            <div id="post_31619161">
                                <table id="pid31619161" class="plhin" summary="pid31619161" cellspacing="0" cellpadding="0">
                                    <tbody>
                                        <tr>
                                            <td class="pls pls_relative" rowspan="2"></td>
                                            <td class="plc">
                                                <div class="pi" style="height: 44px;">
                                                    <div class="pti" style="color: #515151;">
                                                        <div class="authi">
                                                            <div class="cl" style="float: left; width: 50px; overflow: hidden;">
                                                                <a href="UserAction_getPersonHome.action?uid=${reply.uid }" target="_blank" class="xi2 z inside_avt" style="padding-right: 0;"><img src="${reply.headImg }"></a>
                                                            </div>
                                                            <div class="cl" style="float: right; width: 800px; overflow: hidden;">
                                                                <div class="cl" style="height: 21px; margin: 0 0 5px 0; overflow: hidden;">
                                                                    <img class="authicn vm" id="authicon31619161" src="../images/ico_lz.png"><em id="authorposton31619161"><a href="UserAction_getPersonHome.action?uid=${reply.uid }" target="_blank" style="padding: 0 5px 0 0; color: #42A7D7; font-size: 14px; font-weight: bold;">${reply.nickName }</a></em>
                                                                    <div style="display:none;">
                                                                        <span class="pipe">|</span> <a href="http://bbs.huway.com/forum.php?mod=viewthread&amp;tid=4919876&amp;page=1&amp;authorid=1272230" rel="nofollow">只看该作者</a>
                                                                    </div>
                                                                    <div style="display:none;"></div>
                                                                    <strong style="margin: 4px 160px 0 0;" class="y">
                                                                    	<a id="postnum31619161" style="line-height: 18px; padding: 2px 5px;">
                                                                    		${3 * (param.pagenum-1)+no.index+1 } 楼
                                                                    	</a>
                                                                   	</strong>
                                                                </div>
                                                                <div class="cl" style="font-size: 12px; color: #888888;">
                                                                    ${reply.replyTime}
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="pct" style="color: #515151;">
                                                    <div class="pcb">
                                                        <div style="float: left">
                                                            <div style="float: left;padding-top:5px;margin-bottom:25px;">
                                                                <a class="followp" href="" onclick="showWindow(&quot;micxp_wxshare_qrcode&quot;,&quot;plugin.php?id=micxp_wxshare:index&amp;tid=4919876&quot;,&quot;get&quot;,0);" return=""></a>
                                                            </div>
                                                        </div>
                                                        <div class="t_fsz">
                                                            <table cellspacing="0" cellpadding="0">
                                                                <tbody>
                                                                    <tr>
                                                                        <td class="t_f" id="postmessage_31619161">
                                                                            ${reply.content }
                                                                        </td>
                                                                    </tr>
                                                                </tbody>
                                                            </table>
                                                        </div>
                                                        <div id="comment_31619161" class="cm"></div>
                                                        <div id="post_rate_div_31619161"></div>
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="plc plm"></td>
                                        </tr>
                                        <tr id="_postposition31619161">
                                            <td></td>
                                        </tr>
                                        <tr>
                                            <td class="pls"></td>
                                            <td class="plc" style="overflow:visible;">
                                                <div class="po bbd hin">
                                                    <div class="pob cl">
                                                        <em>
                                                        <a href="javascript:;" id="mgc_post_31619161" onmouseover="showMenu(this.id)" class="showmenu" style="display: none;"></a> 
                                                        <!-- <a href="javascript:;" onclick="showWindow('miscreport31619161', 'misc.php?mod=report&amp;rtype=post&amp;rid=31619161&amp;tid=4919876&amp;fid=250', 'get', -1);return false;" style="padding-left: 0;">举报</a> 
                                                        <a class="fastre" href="http://bbs.huway.com/forum.php?mod=post&amp;action=reply&amp;fid=250&amp;tid=4919876&amp;repquote=31619161&amp;extra=page%3D1&amp;page=1" onclick="showWindow('reply', this.href)">回复</a> 
                                                         --><ul id="mgc_post_31619161_menu" class="p_pop mgcmn" style="display: none;"></ul>
                                                        
                                                    </div>
                                                </div>
                                            </td>
                                        </tr>
                                        <tr class="ad">
                                            <td class="pls"></td>
                                            <td class="plc"></td>
                                        </tr>
                                    </tbody>
                                </table>
                            </div>
                            </c:forEach>
                            
                        </div>
                        
                        <div class="pl bm">
                            <table cellspacing="0" cellpadding="0">
                                <tbody>
                                    <tr>
                                        <td class="pls"></td>
                                        <td class="plc">
                                            <div class="pgs mtm mbm cl">
                                                <div class="pg">
                                                	<c:if test="${page.pageCount>1 }">
											    	<div>
											    		<a href="ReplyAction_singlePost.action?pagenum=1&pid=${singlePost.id }">首页</a>
											    		<c:if test="${page.currentPageNo>1 }">
											    			<a href="ReplyAction_singlePost.action?pagenum=${page.currentPageNo-1 }&pid=${singlePost.id }">上一页</a>
											    		</c:if>
											    		<c:if test="${page.currentPageNo<page.pageCount }">
											    			<a href="ReplyAction_singlePost.action?pagenum=${page.currentPageNo+1 }&pid=${singlePost.id }">下一页</a>
											    		</c:if>
											    		<a href="ReplyAction_singlePost.action?pagenum=${page.pageCount }&pid=${singlePost.id }">末页</a>
											    		<span>当前第<span style="color: #37B8EB"> ${page.currentPageNo } </span> 页</span>
											    		<span>总页数:<span style="color: #37B8EB">${page.pageCount }</span></span>
											    	</div>
											   		</c:if>
                                                
                                                    <!-- <strong>1</strong><a href="http://bbs.huway.com/thread/4919876/2/1.html">2</a><label><input type="text" name="custompage" class="px" size="2" title="输入页码，按回车快速跳转" value="1" onkeydown="if(event.keyCode==13) {window.location='forum.php?mod=viewthread&amp;tid=4919876&amp;extra=page%3D1&amp;page='+this.value;; doane(event);}"> <span title="共 2 页">/ 2 页</span></label><a href="http://bbs.huway.com/thread/4919876/2/1.html" class="nxt">下一页</a> -->
                                                </div>
                                                <span class="pgb y" id="visitedforumstmp" onmouseover="$('visitedforums').id = 'visitedforumstmp';this.id = 'visitedforums';showMenu({'ctrlid':this.id,'pos':'21'})">
                                                <a href="PostAction_getPageResult.action?pagenum=1&topicId=${singlePost.topicId }">返回列表</a>
                                                </span> 
                                                <a id="newspecialtmp" href="postrelease.jsp" title="发新帖"><img src="../images/pn_post.png" alt="发新帖"></a>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div><!--[diy=diyfastposttop]-->
                        <div id="diyfastposttop" class="area"></div><!--[/diy]-->
                        
                        <!-- 文本编辑器 -->
                        <div id="mainContent">
							<form name="example" method="post" action="ReplyAction_addReply.action" onsubmit="return check()">
								<textarea name="content" cols="70" rows="12" autocomplete="off">
									<c:if test="${sesssion.user}==null">
										<div style="margin: 45px 250px;color:red;">请先登录才能回复</div>
									</c:if>
								</textarea><br />
								<input type="hidden" value="${singlePost.id }" name="postId"/>
								<input type="hidden" value="${session.user.id }" name="userId"/>
								<input type="submit" name="button" value="提交" />
								(提交快捷键:Ctrl + Enter)
							</form>
						</div>
                        <!-- 文本编辑器 end -->
                    </div>
                </div>
            </div>
            <div class="wp mtn">
                <!--[diy=diy3]-->
                <div id="diy3" class="area"></div><!--[/diy]-->
            </div>
            <script type="text/javascript">

            (function() {
            jQuery(window).scroll(function(){
            if (jQuery(window).scrollTop()>300){
            jQuery('#side_reply').fadeIn();
            }else if(jQuery(window).scrollTop()<300){
            jQuery('#side_reply').fadeOut();
            }
            });

            })();
            </script>
        </div>
        
       <%--	公共底部	 --%>
	<jsp:include page="indexFooter.jsp" />
       
    </body>
</html>
